package com.d3works.apps.helpdesk.module;

import com.d3works.app.D3worksModule;
import com.d3works.apps.base.service.MailServiceBaseImpl;
import com.d3works.apps.helpdesk.db.repo.TicketManagementRepository;
import com.d3works.apps.helpdesk.db.repo.TicketRepository;
import com.d3works.apps.helpdesk.service.MailServiceHelpDeskImpl;
import com.d3works.apps.helpdesk.service.TicketService;
import com.d3works.apps.helpdesk.service.TicketServiceImpl;
import com.d3works.apps.helpdesk.service.TimerTicketService;
import com.d3works.apps.helpdesk.service.TimerTicketServiceImpl;

public class HelpdeskModule extends D3worksModule {

  @Override
  protected void configure() {

    bind(TicketRepository.class).to(TicketManagementRepository.class);
    bind(TicketService.class).to(TicketServiceImpl.class);
    bind(MailServiceBaseImpl.class).to(MailServiceHelpDeskImpl.class);
    bind(TimerTicketService.class).to(TimerTicketServiceImpl.class);
  }
}
